package com.fy.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 *
 * </p>
 *
 * @author 晓岩
 * @since 2022-06-14
 */
@Getter
@Setter
@TableName("t_channel")
public class Channel implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String name;

    private Integer aid;

    private Integer xid;

    private Integer tid;

    private String num;

    private Integer cid;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ExcelIgnore
    private LocalDate time;


}
